from django.conf.urls import url
from django.urls import path
from . import views

app_name='df_user'


urlpatterns = [
    url(r"^register/$",views.RegisterView.as_view(),name="register"), # 注册
    url(r"^active/(?P<token>.*)$",views.ActiveView.as_view(), name="active"), # 账户激活
    url(r"^login/$", views.LoginView.as_view(), name="login"), # 登录
    # 短信
    path('send_sms/', views.send_sms, name='send_sms'),
    path('sms_send/', views.sms_send, name='sms_send'),
    path('sms_check/', views.sms_check, name='sms_check'),
    # 图文
    path('img_refresh/', views.img_refresh, name='img_refresh'),
    path('img_check/', views.img_check, name='img_check'),
]


#url(r'^register/$',views.register,name="register"),#注册页，
#url(r'^register_handle/$', views.register_handle,name="register_handle"),#注册数据处理